<?php
namespace api\modules\v1\controllers;
use Yii;

class AdvController extends CommentController
{

    public $_is_auth = false;
    protected $_is_sign = false; //是否进行登录签名验证

    /*
     * 启动页广告
     */
    public function actionStart()
    {
        $adv = [
            'img'=>'http://image01.jsjznews.com/adv/start_adv.jpg',//图片
            'url'=>'http://www.baidu.com',//链接
            'time'=>'5', //延时时间
            'time_flag'=>'1486435354', //时间戳标记
        ];
        return [
            "adv"=>$adv,
        ];
    }
}